package main

import (
	"fmt"
	_ "WchimeGinSystem/conf"
	"WchimeGinSystem/models"
	"WchimeGinSystem/router"
	"WchimeGinSystem/utils"
	"WchimeGinSystem/utils/cache"
)

// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
// @BasePath /
func main() {
	fmt.Println(utils.GetTimeString())
	models.InitDatabase()
	cache.InitRedis()
	router.InitRouter()

}
